package net.spacebeeshooter.gui;

import javax.swing.JFrame;
import javax.swing.JMenuBar;

public class Frame extends JFrame {
	private static final long serialVersionUID = 141085075271102916L;
	
	public Frame(MainPanel panel, JMenuBar menuBar) {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		setJMenuBar(menuBar);
		add(panel);
	}
}
